package org.cid54.jshopper.dao;

import java.util.List;
import org.cid54.jshopper.model.Item;
import org.cid54.jshopper.model.ShopItem;
import org.cid54.jshopper.model.ShoppingList;

/**
 *
 * @author fgo
 */
public interface ShopItemDao extends SuperEntityDao<ShopItem> {

    public ShopItem findByName(String shopItemName);

    List<ShopItem> findByItem(Item item);

    ShopItem findByItemAndShoppingList(Item item, ShoppingList shoppingList);

}
